// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.


//引入css文件
import './assets/css/header.css'
import './assets/css/footer.css'
import './assets/css/main.css'
import './assets/css/global.css'
import './assets/css/shop.css'
import './assets/css/user.css'


import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vue from 'vue';
import App from './App';
import { default as axios, default as http } from './request/request';
import router from './router';
import echarts from 'echarts'


Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.prototype.$axios = http
Vue.prototype.$axios = axios  //将axios对象设为全局参数
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})